*{
    margin: 0;
    padding: 0;
}
// 定义一个可被引用的类
.headInner{
    width: 1000px;
    margin: 0 auto;
    position: relative;
}
// 头部导航栏
.topNav{
    position: relative;
    height: 30px;
    background-color: #f5f5f5;
    color: #777;
    .headInner{
        .addressContainer{
            position: relative;
            font-size: 12px;
            padding-left: 15px;
            padding-right: 23px;
            width: 46px;
            height: 27px;
            line-height: 27px;
            cursor: pointer;
            border-width: 1px 1px 0;
            border-style: solid;
            border-color: #f5f5f5;
            float: left;
        }
        .headInnerInfo{
            float: right;
            line-height: 27px;
            li{
                position: relative;
                float: left;
                font-size: 12px;
                list-style-type: none;
                padding-left: 10px;
                padding-right: 10px;
                cursor: pointer;
                .myOrder{
                    color: #777;
                    text-decoration: none;
                    &:hover{
                        color: #F96C0C;
                    }
                }
                &:nth-child(even){
                    overflow: hidden;
                    margin: 11px 5px 0;
                    padding-right: 0;
                    padding-left: 0;
                    width: 1px;
                    height: 10px;
                    background-color: #ccc;
                }
                &:hover{
                    color: #F96C0C;
                }
                &:hover .superSale{
                    display: block;
                    border: 1px solid #ccc;
                    border-top: none;
                    box-shadow: 0px 2px 5px 0px #ccc;
                }
                .superSale{
                    position: absolute;
                    top: 25px;
                    left: 5px;
                    z-index: 9;
                    padding-left: 5px;
                    padding-right: 5px;
                    display: none;
                    background-color: white;
                    p{
                        text-align: center;
                        a{
                            text-decoration: none;
                            color: #777;
                            &:hover{
                                color: #F96C0C;
                            }
                        }
                        
                    }
                }
                
            }
            
        }
    }
}
// logo与搜索栏
.headLogo{
    height: 100px;
    // background-color: #fff;
    background-color: white;
    .headInner{
        .logo{
            height: 100px;
            min-width: 140px;
            position: relative;
            float: left;
            img{
                position: absolute;
                height: 100px;
                min-width: 140px;
            }
        }
        .headSearch{
            float: right;
            display: inline;
            position: relative;
            margin-top: 30px;
            .headSearchForm{
                width: 480px;
                height: 32px;
                border: 2px solid #F96C0C;
                border-radius: 20px;
                background-color: #fff;
                .searchTab{
                    position: absolute;
                    top: 0;
                    left: 0;
                    font-size: 12px;
                    .searchShow{
                        position: absolute;
                        top: 3px;
                        left: 0;
                        display: block;
                        width: 36px;
                        height: 30px;
                        background-color: black;
                    }
                    .searchSort{
                        width: 50px;
                        height: 30px;
                        overflow: hidden;
                        list-style-type: none;
                        display: inline-block;
                        &:hover{
                            height: 60px;
                        }
                        li{
                            margin-top: 11px;
                            margin-left: 15px;
                            cursor: pointer;
                            &:hover{
                                color: #F96C0C;
                            }
                        }
                    }
                }
                span{
                    position: absolute;
                    top: 10px;
                    left: 45px;
                    color: #ccc;
                    font-size: 13px;
                }
                input{
                    padding: 0px 12px;
                    margin-left: 40px;
                    width: 355px;
                    line-height: 32px;
                    font-size: 14px;
                    color: #333;
                    border: none;
                    background-color: #fff;
                    outline: none;
                }
                button{
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 65px;
                    height: 35px;
                    border: 2px solid #F96C0C;
                    background-color:#F96C0C;
                    border-radius: 20px;
                    cursor: pointer;
                    a{
                        text-decoration: none;
                    }
                }
            } 
        }
    }
}
// 二级导航（主导航）
.mainNav{
    position: relative;
    height: 43px;
    line-height: 43px;
    background-color: blanchedalmond;
    .headInner{
        .mainNavLink{
            list-style-type: none;
            clear: both;
            .linkWeight{
                font-weight: 600 !important;
                color: #F96C0C !important;
            }
            li{
                position: relative;
                display: block;
                float: left;
                font-size: 16px;
                padding-left: 25px;
                line-height: 43px;
                cursor: pointer;
                color: #333;
                &:nth-child(1){
                    width: 140px;
                    padding-left: 0px;
                    background-color: #F96C0C;
                    color: white;
                    text-align: center;
                    &:hover{
                        color: white;
                    }
                }
                // &:nth-child(2){
                //     font-weight: 600;
                //     color: #F96C0C;
                // }
                
                &:hover{
                    color: #F96C0C;
                }
                a{
                    text-decoration: none;
                    color: #333;
                    &:hover{
                        color: #F96C0C;
                    }
                    &:hover+span>.icon{
                        color: #F96C0C;
                    }
                }
                &:hover .mainNavLinkMore{
                    display: block;
                }
                .mainNavLinkMore{
                    position: absolute;
                    left: 10px;
                    background-color: #fff;
                    width: 65px;
                    text-align: center;
                    border: 1px solid #ccc;
                    border-top: none;
                    display: none;
                    transition: all .3s;
                    box-shadow: 0px 2px 5px 0px #ccc;
                    z-index: 9;
                    p{
                        a{
                            text-decoration: none;
                            color: #333;
                            font-size: 16px;
                            &:hover{
                                color: #F96C0C;
                            }
                        }
                    }
                }
                .icon{
                    width: 12px;
                    height: 12px;
                    font-size: 10px;
                    line-height: 43px;
                    cursor: pointer;
                }
            }  
        }
        .mainNavData{
            position: absolute;
            overflow: hidden;
            opacity: 0;
            transition: all .3s;
            height: 0;
            z-index: 9;
            ul{
                list-style-type: none;
                width: 140px;
                background-color: #F96C0C;
                float: left;
                li{
                    height: 43px;
                    font-size: 13px;
                    text-align: center;
                    cursor: pointer;
                    color: white;
                    &:hover{
                        color: #F96C0c;
                        background-color: white;
                    }
                    
                }
                &:hover+.mainNavDataPop{
                    display: block;
                }
            }
            .mainNavDataPop{
                position: relative;
                float: left;
                box-shadow: 0px 2px 5px 0px #ccc;
                // clear: both;
                display: none;
                .dataPopContainerGoods{
                    float: left;
                    width: 519px;
                    max-height: 398px;
                    background-color: #fff;
                    padding: 16px 40px 16px 40px;
                    border: 1px solid #eee;
                    border-left: none;
                    overflow-y: auto;
                    overflow-x: auto;
                    // 滚动条样式
                    //滚定条整体部分
                    &::-webkit-scrollbar {
                        width: 5px;
                        height: 1px;
                    }
                    // 滚动条滑块
                    &::-webkit-scrollbar-thumb {
                    border-radius: 10px;
                    background: hsl(195, 12%, 93%);
                    box-shadow: none;
                    }
                    // 滚动条轨道
                    &::-webkit-scrollbar-track {
                    border-radius: 10px;
                    background: rgba(0, 0, 0, 0);
                    box-shadow: none;
                    }
                    .containerDetailsGoods{
                        font-size: 12px;                       
                        dl{
                            margin-bottom: 20px;
                            position: relative;
                            dt{
                                font-weight: 600;
                                position: absolute;
                                left: 0;
                                width: 80px;
                                overflow: hidden;
                                cursor: pointer;
                                
                            }
                            dd{
                                width: 439px;
                                margin-left: 80px;
                                //不拆分单词
                                word-break: keep-all;
                                a{
                                    text-decoration: none;
                                    color: #777;
                                    &:hover{
                                        color: #F96C0C;
                                    }
                                }
                            }
                            
                        }
                        
                    }
                    
                }
                .dataPopContainerBrand{
                    float: right;
                    background-color: #f5f5f5;
                    width: 213px;
                    height: 398px;
                    padding: 16px;
                    // display: inline-block;
                    .containerDetailsBrand{
                        font-size: 12px;
                        .brandTitle{
                            font-size: 12px;
                            color: #222;
                            margin-bottom: 28px;
                        }
                        .brand{
                            width: 68px;
                            height: 68px;
                            background: #fff;
                            display: inline-block;
                            margin-top: -12px;
                            a{
                                display: block;
                                width: 68px;
                                height: 68px;
                                text-decoration: none;
                                position: relative;
                                color: #333;
                                &:hover{
                                    color: #F96C0C;
                                }
                                img{
                                    position: absolute;
                                    top: 10px;
                                    left: 10px;
                                    width: 48px;
                                    height: 30px;
                                }
                                span{
                                    position: absolute;
                                    top: 30px;
                                    width: 68px;
                                    text-align: center;

                                }
                            }
                        }
                    }
                }
            }
            &:hover .mainNavDataPop{
                display: block;
            }
        }
    }
}
// // 滚动条样式
// //滚定条整体部分
// ::-webkit-scrollbar {
//     width: 5px;
//     height: 1px;
//   }
//  // 滚动条滑块
// ::-webkit-scrollbar-thumb {
// border-radius: 10px;
// background: hsl(195, 12%, 93%);
// box-shadow: none;
// }
// // 滚动条轨道
// ::-webkit-scrollbar-track {
// border-radius: 10px;
// background: rgba(0, 0, 0, 0);
// box-shadow: none;
// }
// 右侧固定栏
.sideBar{
    position: fixed;
    right: 0;
    top: 0;
    z-index:999;
    width: 28px;
    height: 100%;
    .sideBarNav{
        position: relative;
        height: 100%;
        z-index: 100;
        background-color: white;
        border-left: 1px solid #eee;
        .sideBarCnt{
            position: absolute;
            right: 0;
            top: 50%;
            width: 28px;
            // height: 380px;
            height: 300px;
            margin-top: -220px;
            background-color: white;
            // display: block;
            ul{
                list-style: none;
                text-align: center;
                li{
                    position: relative;
                    margin-bottom: 5px;
                    padding: 9px 0 2px 0;
                    cursor: pointer;
                    &:hover{
                        background-color: #F96C0C;
                        color: white;
                    }
                    .sideLiHover{
                        width: 100px;
                        height: 30px;
                        position: absolute;
                        right: -128px;
                        top: 1px;
                        line-height: 30px;
                        border: 1px solid #cecece;
                        border-right: none;
                        text-align: center;
                        color: grey;
                        font-size: 14px;
                        display: block;
                        background-color: #fff;
                        transition: all .5s;
                        z-index: -1;
                        &:hover{
                            color: #F96C0C;
                        }
                    }
                    &:hover .sideLiHover{
                        right: 28px;
                    }
                    .sideShopping{
                        background-color: #F96C0C;
                        padding: 5px 0 5px 0;
                        font-size: 16px;
                        font-weight: 500;
                        // background-color: #fff;
                        color: white;
                        p{
                            font-family: STFangsong;
                            
                        }
                        span{
                            width: 24px;
                            height: 24px;
                            display: block;
                            border-radius: 100%;
                            margin-top: 5px;
                            margin-left: 2px;
                            margin-bottom: 5px;
                            background-color: white;
                            color: #F96C0C;
                        }
                    }
                }
            }
        }
        .sideBarFt{
            position: absolute;
            bottom: 0;
            right: 0;
            .sideBarFeedback{
                margin-bottom: 2px;
                padding: 5px 2px 5px 2px;
                &:hover{
                    background-color: #F96C0C;
                    color: white;
                }
                &:hover .feedBackP{
                    right: 28px;
                }
                .feedBack{
                    text-align: center;
                    cursor: pointer;
                    
                }
                .feedBackP{
                    width: 100px;
                    height: 30px;
                    position: absolute;
                    right: -128px;
                    top: 1px;
                    line-height: 30px;
                    border: 1px solid #cecece;
                    border-right: none;
                    text-align: center;
                    color: grey;
                    font-size: 14px;
                    display: block;
                    background-color: #fff;
                    transition: all .5s;
                    z-index: -1;
                    cursor: pointer;
                    &:hover{
                        color: #F96C0C;
                    }
                }
            }
            .sideBarTotop{
                margin-bottom: 15px;
                padding: 5px 2px 5px 2px;
                &:hover{
                    background-color: #F96C0C;
                    color: white;
                }
                .toTop{
                    text-align: center;
                    cursor: pointer;
                }
            }
        }
    }
    // 鼠标放置侧边栏头像上时出现
    .accountHover{
        position: absolute;
        // right: 28px;
        right: -274px;
        top: 87px;
        transition: all .5s;
        display: block;
        width: 246px;
        height: 180px;
        background-color: #fff;
        border-bottom-left-radius: 10px;
        border-top-left-radius: 10px;
        border: 1px solid #cecece;
        border-right: none;
        padding: 0 14px;
        a{
            padding: 10px 0;
            text-decoration: none;
            color: grey;
            i{
                display: block;
                margin: 30px auto 20px;
                width: 66px;
                height: 66px;
                border-radius: 66px;
                box-shadow: 0 3px 4px 0 rgb(0 0 0 / 11%);
            }
        }
        p{
            font-size: 13px;
            padding-bottom: 10px;
            line-height: 30px;
            text-align: center;
            cursor: pointer;
            &:hover{
                color: #F96C0C;
            }
        }
    }
}
// 底部
.headInner{
    .footerIcon{
        margin-left: 79px;
        list-style-type: none;
        clear: both;
        li{
            float: left;
            i{
                display: block;
                margin-top: 30px;
                margin-right: 38px;
                margin-left: 10px;
                width: 72px;
                height: 50px;
                font-size: 20px;
                color: grey;
            }
            p{
                color: grey;
            }
        }
    }
    .footerSer{
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        dl{
            width: 180px;
            height: 146px;
            border-right: 1px solid #e0e0e0;
            font-size: 13px;
            padding-left: 40px;
            padding-top: 10px;
            letter-spacing: 1px;
            line-height: 20px;
            &:last-child{
                border-right: none;
            }
            dt{
                padding-bottom: 5px;
            }
            dd{
                padding-left: 15px;
                font-size: 12px;
                color: #aaa;
                cursor: pointer;
                transition: all .3s;
                &:hover{
                    color: #F96C0C;
                    font-size: 12.5px;
                }
            }
        }

    }
    .footerInfo{
        margin-top: 40px;
        margin-bottom: 30px;
        p{
            text-align: center;
            color: grey;
        }
    }
}

// 弹窗
.SuPopBox{
    width: 100%; 
    left: 0px; 
    top: 0px; 
    height: 100%; 
    position: fixed; 
    user-select: none; 
    z-index: 999998;
    background-color: rgba(0,0,0,0.6);
    visibility: hidden;
    opacity: 0;
    transition: all .3s;
    .SuPop{
        width: 150px;
        left: 441.5px;
        top: 264px;
        // position: relative;
        // position: absolute;
        margin: 15% auto;
        top: 30%;
        z-index: 999999;
        .SuPopInner{
            padding: 10px 10px 10px 55px;
            background: #fff;
            border-radius: 10px;
            position: relative;
            .SuDeleteIcon{
                position: absolute;
                top: 12px;
                left: 25px;
                cursor: pointer;
                color: rgb(37,175,122);
            }
            .SuDeleteGood{
                font-weight: 600;
                padding-bottom: 15px;
            }
            .SuDeleteGoodsInner{
                font-size: 13px;
                display: inline-block;
            }
            .SuDeleteBtn{
                text-align: center;
                padding-top: 20px;
                button{
                    width: 58px;
                    height: 28px;
                    outline: none;
                    border: none;
                    cursor: pointer;
                    border-radius: 5px;
                }
                .SuNoDelete{
                    margin-right: 10px;
                    &:hover{
                        background-color: #dcdddd;
                    }
                }
                .SuSureDelete{
                    background-color: #F96C0C;
                    color: #fff;
                    margin-left: 10px;
                    &:hover{
                        background-color: #eb6101;
                    }
                }
            }
        }
    }
}

